package com.gem.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Auther: jzhang
 * @Date: 2020/1/3 09:23
 * @Description:
 */
@Data
public class Orders {
    private Integer id;
    private Integer userId;
    private String number;
    private Date createTime;
    private String note;

    //用户信息
    private User user;

    //订单明细
    private List<OrderDetail> details;
}
